﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FloodFree.Common;
using System.Threading;

namespace FloodFree.Web.Areas.Admin.Controllers
{
    [Authorize]
    public class BaseController : Controller
    {
        protected FloodFreeContext db = new FloodFreeContext();
        protected override void ExecuteCore()
        {
            string culture = "pt-BR";
            System.Globalization.CultureInfo cultureInfo = new System.Globalization.CultureInfo(culture);
            Thread.CurrentThread.CurrentUICulture = cultureInfo;

            base.ExecuteCore();
        }

    }
}
